package com.zhao.framework.servelet;

import com.zhao.framework.GenericServlet;
import com.zhao.tongcheng.impl.AdministrativeDivisionsImpl;
import com.zhao.tongcheng.intf.IAdministrativeDivisions;

/**
 * @author 
 * 使用easyweb框架的servlet。一个servlet就够了。
 */
public class EasywebServlet extends GenericServlet {

	@Override
	protected void setup() {
//		this.registerImplement(Igeospatials.class.getName(),IgeospatialsImpl.class);
//		this.registerImplement(Ihotelinfo.class.getName(),IhotelinfoImpl.class);
//		this.registerImplement(Isearch.class.getName(),IsearchImpl.class);
		this.registerImplement(IAdministrativeDivisions.class.getName(),AdministrativeDivisionsImpl.class);
	} 
//static public void main(String[] args){
//	System.out.println("hello world!");
//}
}
